<template>
  <div class="article">
    <div class="head">
      <div class="head_back">
        <van-icon
          name="arrow-left"
          color="#fff"
          size="18"
          @click="$router.back()"
        />
      </div>
      <h2>About us</h2>
    </div>
    <div class="content">
      <div class="icon">
        <img src="../../assets/imgs/guize.png" alt="" srcset="" />
      </div>
      <div>
        <div class="box" v-html="content"></div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      content: "",
    };
  },
  mounted() {
   
      this.$store
        .dispatch("articlesdes", { key: "CrowdfundingRule" })
        .then((res) => {
          this.content = res.content;
        });
 
  },
};
</script>

<style lang="scss" scoped>
.article {
  height: 100%;
  min-height: 100vh;
  background-color: #fff;
}
.head {
  width: 375px;
  height: 163px;
  background: #4a67f5;
  .head_back {
    padding: 15px 0 0 15px;
  }
  h2 {
    padding: 23px 0 3px 15px;
    font-size: 20px;
    color: #fff;
  }
  p {
    padding: 0 0 3px 15px;
    font-size: 13px;
    color: #fff;
  }
}
.content {
  height: 100%;
  margin: -20px 0 0 0;
  background-color: #fff;
  border-radius: 15px 15px 0 0;
  box-sizing: border-box;
  padding: 15px;
  position: relative;
  .icon {
    position: absolute;
    top: -100px;
    right: 50px;
    img {
      width: 133px;
      height: 111px;
    }
  }
  ul > li {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ebebeb;
    .item-left {
      width: 22px;
      height: 22px;
      text-align: center;
      line-height: 22px;
      background: #4a67f5;
      border-radius: 50%;
      color: #fff;
    }
    .item-right {
      margin: 0 0 0 15px;
      font-size: 16px;
      line-height: 16px;
      color: #333;
    }
  }
}
</style>